package com.luoran.car.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.luoran.car.domain.Comment;
import com.luoran.car.service.CommentService;
import com.luoran.car.mapper.CommentMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【COMMENT(评论表)】的数据库操作Service实现
* @createDate 2024-09-25 20:17:13
*/
@Service
public class CommentServiceImpl extends ServiceImpl<CommentMapper, Comment>
    implements CommentService{

    @Override
    public List<Comment> listByidComment(Integer vehicleId) {
        return baseMapper.listByidComment(vehicleId);
    }

    @Override
    public void save1(Comment comment) {
        baseMapper.save1(comment);
    }
}




